package com.zmm.member.service;

import com.zmm.common.enums.RegistryMethodEnums;
import com.zmm.common.exception.handle.BusinessException;
import com.zmm.member.model.Customer;
import com.zmm.member.submit.vo.RegisterLoginVo;

/**
 * @author 900045
 * @description:
 * @name RegistryService
 * @date By 2021-07-26 16:09:46
 */
public interface RegistryService {

	/**
	 * 手机 注册用户 -- 接口
	 * @author: 900045
	 * @date: 2021-07-26 16:12:05
	 * @throws BusinessException
	 * @param registerLoginVo:
	 * @param method: 注册方式    
	 * @return: com.zmm.member.model.Customer
	 **/
	Customer registryByPhone(RegisterLoginVo registerLoginVo, RegistryMethodEnums method) throws BusinessException;

	/**
	 * 三方(微信) 注册用户 -- 接口
	 * @author: 900045
	 * @date: 2021-07-26 16:13:50
	 * @throws BusinessException
	 * @param phone: 
	 * @param password: 
	 * @param verifyCode: 
	 * @param type: 
	 * @param invitationCode: 
	 * @param method: 注册方式   
	 * @param ip:   
	 * @param nickName: 
	 * @param iconUrl: 
	 * @return: com.zmm.member.model.Customer
	 **/
	Customer registryByPhone(String phone, String password, String verifyCode, Integer type, String invitationCode,
							 RegistryMethodEnums method, String ip, String nickName, String iconUrl) throws BusinessException;
}
